<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>人力资源管理系统</title>
    <!-- 引入Element UI样式 -->
    <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
    <style>
        body {
            margin: 0;
            padding: 0;
            font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
            background: #f5f5f5;
            height: 100vh;
            overflow: hidden;
        }
        
        .container {
            max-width: 1360px;
            margin: 0 auto;
            padding: 20px;
            height: 100vh;
            display: flex;
            flex-direction: column;
            box-sizing: border-box;
        }
        
        .header {
            text-align: center;
            color: #2c3e50;
            margin-bottom: 20px;
            flex-shrink: 0;
        }
        
        .header h1 {
            font-size: 36px;
            font-weight: 300;
            margin: 0;
            text-shadow: 0 2px 4px rgba(0,0,0,0.3);
        }
        
        .header p {
            font-size: 20px;
            opacity: 0.9;
            margin: 0;
        }
        
        .modules-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            margin-top: 20px;
            flex: 1;
            overflow-y: auto;
        }
        
        .module-card {
            background: white;
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 8px 32px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }
        
        .module-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #667eea, #764ba2);
        }
        
        .module-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 40px rgba(0,0,0,0.15);
        }
        
        .module-icon {
            font-size: 40px;
            margin-bottom: 15px;
            color: #667eea;
        }
        
        .module-title {
            font-size: 22px;
            font-weight: 600;
            color: #2c3e50;
            margin: 0 0 12px 0;
        }
        
        .module-description {
            color: #606266;
            line-height: 1.5;
            margin-bottom: 18px;
        }
        
        .module-features {
            list-style: none;
            padding: 0;
            margin: 0 0 18px 0;
        }
        
        .module-features li {
            padding: 3px 0;
            color: #606266;
            position: relative;
            padding-left: 20px;
        }
        
        .module-features li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: #67c23a;
            font-weight: bold;
        }
        
        .module-button {
            width: 100%;
            padding: 12px 24px;
            font-size: 16px;
            border-radius: 6px;
            border: none;
            background: #409eff;
            color: white;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: block;
            text-align: center;
            box-sizing: border-box;
        }
        
        .module-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(64, 158, 255, 0.4);
            background: #66b1ff;
        }
        
        .footer {
            text-align: center;
            color: #606266;
            margin-top: 10px;
            opacity: 0.8;
            flex-shrink: 0;
        }
        
        .stats-section {
            background: white;
            border-radius: 12px;
            padding: 30px;
            margin-bottom: 40px;
            box-shadow: 0 2px 12px rgba(0,0,0,0.1);
        }
        
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
        }
        
        .stat-item {
            text-align: center;
            color: #2c3e50;
        }
        
        .stat-number {
            font-size: 36px;
            font-weight: bold;
            margin-bottom: 5px;
        }
        
        .stat-label {
            font-size: 14px;
            opacity: 0.9;
        }
    </style>
</head>
<body>
    <div id="app">
        <div class="container">
            <!-- 头部 -->
            <div class="header">
                <h1>人力资源预测系统</h1>
            </div>
            
            
            <!-- 功能模块 -->
            <div class="modules-grid">

                <!-- 组织管理模块 -->
                <div class="module-card" @click="goToModule('organization.html')">
                    <div class="module-icon">🏢</div>
                    <h3 class="module-title">组织架构管理</h3>
                    <p class="module-description">
                        管理组织架构、填报人员等基本信息。
                    </p>
                    <ul class="module-features">
                        <li>Division维护</li>
                        <li>BU信息维护</li>
                        <li>填报人员维护</li>
                        <li>组织架构树排序</li>
                    </ul>
                    
                </div>

                <!-- 任务管理模块 -->
                <div class="module-card" @click="goToModule('audit.html')">
                    <div class="module-icon">📋</div>
                    <h3 class="module-title">任务发布&审核</h3>
                    <p class="module-description">
                        发布、管理和审核人力资源预测任务，支持任务状态跟踪和截止时间管理。
                    </p>
                    <ul class="module-features">
                        <li>任务发布与截止时间设置</li>
                        <li>任务状态跟踪（进行中/已关闭）</li>
                        <li>审核流程管理</li>
                        <li>数据查看Actual/Forecast/Budget</li>
                        <li>报表数据导出</li>
                    </ul>
                </div>

                <!-- 任务管理模块 -->
                <div class="module-card" @click="goToModule('staff-settings.html')">
                    <div class="module-icon">👥</div>
                    <h3 class="module-title">填报人员设置</h3>
                    <p class="module-description">
                        查看、调整填报人员设置。
                    </p>
                    <ul class="module-features">
                        <li>整体查看填报人员设置详情</li>
                        <li>快速调整填报人员</li>
                    </ul>
                </div>

                <!-- 用户组管理模块 -->
                <div class="module-card" @click="goToModule('user-groups.html')">
                    <div class="module-icon">🔐</div>
                    <h3 class="module-title">用户组管理</h3>
                    <p class="module-description">
                        管理用户组、权限设置和用户分配。
                    </p>
                    <ul class="module-features">
                        <li>用户组创建与编辑</li>
                        <li>用户分配与管理</li>
                        <li>Profit Center权限设置</li>
                    </ul>
                </div>
                
                
                <!-- 数据导入模块 -->
                <div class="module-card" @click="goToModule('data-import.html')">
                    <div class="module-icon">📥</div>
                    <h3 class="module-title">数据导入</h3>
                    <p class="module-description">
                        支持通过Excel导入Actual数据和Budget数据，并查看已导入数据。
                    </p>
                    <ul class="module-features">
                        <li>Actual数据导入</li>
                        <li>Budget数据导入</li>
                        <li>查看已导入数据</li>
                    </ul>
                </div>

                <!-- 任务列表模块 -->
                <div class="module-card" @click="goToModule('task-list.html')">
                    <div class="module-icon">📝</div>
                    <h3 class="module-title">任务列表</h3>
                    <p class="module-description">
                        查看个人填报任务，并在线填报人员预测数据。
                    </p>
                    <ul class="module-features">
                        <li>个人任务管理</li>
                        <li>截止时间提醒</li>
                        <li>任务进度跟踪</li>
                        <li>在线填报人力预测</li>
                    </ul>
                </div>
                
                
            </div>
            
            <!-- 页脚 -->
            <div class="footer">
                
            </div>
        </div>
    </div>

    <!-- 引入Vue.js -->
    <script src="https://unpkg.com/vue@2/dist/vue.js"></script>
    <!-- 引入Element UI -->
    <script src="https://unpkg.com/element-ui/lib/index.js"></script>
    
    <script>
        new Vue({
            el: '#app',
            data() {
                return {
                    // 可以添加一些数据
                }
            },
            methods: {
                goToModule(url) {
                    // 可以在这里添加一些逻辑，比如记录访问日志
                    console.log('访问模块:', url);
                    window.location.href = url;
                }
            }
        });
    </script>
</body>
</html> 